package cn.starlightsoftware.sherly.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 谷子毅
 */
@Getter
@AllArgsConstructor
public enum BooleanEnum implements BaseEnum {
    /** 是 */
    TRUE(1, "TRUE", "是"),
    /** 否 */
    FALSE(0, "FALSE", "否"),
    ;

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String key;
    private final String description;
}
